<?php
/**
 * Zend Framework (http://framework.zend.com/)
 *
 * @link      http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository
 * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
 * @license   http://framework.zend.com/license/new-bsd New BSD License
 */

namespace Home\Model;

use Zend\Db\TableGateway\TableGateway;

class UserTable
{
   protected $tableGateway;

   public function __construct(TableGateway $tableGateway)
   {
      $this->tableGateway = $tableGateway;      
   }

   public function fetchAll()
   {      
      return $this->tableGateway->select();
   }

}